package com.granada.vo.resp;

import com.granada.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * @ClassName: LoginRespVO
 * TODO:类文件简单描述
 * @Author: 小霍
 * @CreateDate: 2019/9/7 23:05
 * @UpdateUser: 小霍
 * @UpdateDate: 2019/9/7 23:05
 * @Version: 0.0.1
 */


@Data
@SuperBuilder(toBuilder = true)
public class LoginRespVO extends SysUser {

    @ApiModelProperty(value = "token")
    private String accessToken;
    @ApiModelProperty(value = "刷新token")
    private String refreshToken;
//    @ApiModelProperty(value = "用户名")
//    private String username;
//    @ApiModelProperty(value = "用户id")
//    private Long id;
//    @ApiModelProperty(value = "电话")
//    private String phone;
//    @ApiModelProperty(value = "头像")
//    private String headPortrait;
    @ApiModelProperty(value = "用户所拥有的菜单权限(前后端分离返回给前端控制菜单和按钮的显示和隐藏)")
    private List<PermissionRespNode> list;
    @ApiModelProperty(value = "所属公司")
    private String companyName;
    @ApiModelProperty(value = "所属部门")
    private String dept;
    @ApiModelProperty(value = "返回消息码")
    private String code;
    @ApiModelProperty(value = "返回消息")
    private String msg;
//    @ApiModelProperty(value = "登录人的类型:1为客户，2为厂商")
//    private String comType;
    @ApiModelProperty(value = "返回提醒消息")
    private String message;


}
